import { NextPage } from "next";
import Link from "next/link";

const Home: NextPage = () => {
  return (
    <>
      <div className="cover">
        <img src="/logo.jpg" alt="" />
        <h1>吴思里的个人博客</h1>
        <p>我是一个爱学习的人</p>
        <p><Link href='posts'><a>文章列表</a></Link></p>
      </div>
      <style jsx>{`
        .cover{
          height:100vh;
          display:flex;
          flex-direction:column;
          align-items:center;
          justify-content:center;
        }
      `}</style>
    </>
  )
}

export default Home